import {request} from '@/utils/request/index.js'
const model = 'user'
const user = {
	// 获取用户列表
	getListPage(params){
		return request({
			url: model + '/get-list-page',
			method: 'get',
			params
		})
	},
	
	// 手机号登录
	login(data) {
		return request({
			url: model + '/login',
			method: 'post',
			data
		})
	},
	
	// 微信登录
	wxLogin(data) {
		return request({
			url: model + '/wx-login',
			method: 'post',
			data
		})
	}
}

export default user